package org.jeecg.modules.demo.shop.vo;

import java.util.List;
import org.jeecg.modules.demo.shop.entity.VipShop;
import org.jeecg.modules.demo.shop.entity.VipShopItem;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 积分商城
 * @Author: jeecg-boot
 * @Date:   2021-07-30
 * @Version: V1.0
 */
@Data
@ApiModel(value="vip_shopPage对象", description="积分商城")
public class VipShopPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	@ApiModelProperty(value = "商品名称")
    private java.lang.String name;
	/**所需积分*/
	@Excel(name = "所需积分", width = 15)
	@ApiModelProperty(value = "所需积分")
    private java.lang.Integer usePoints;
	/**库存*/
	@Excel(name = "库存", width = 15)
	@ApiModelProperty(value = "库存")
    private java.lang.Integer inventory;
	/**已经兑换数量*/
	@Excel(name = "已经兑换数量", width = 15)
	@ApiModelProperty(value = "已经兑换数量")
    private java.lang.Integer exchangeNum;

	@ExcelCollection(name="商品介绍")
	@ApiModelProperty(value = "商品介绍")
	private List<VipShopItem> vipShopItemList;

}
